/*smagic39@gmail.com */
jQuery(function ($) {
    jQuery(".view-bieu-mau-thong-dung .file .file-icon").hide();
    jQuery(".view-bieu-mau-thong-dung .file a").html("<div class='icon-download'></div>");

    jQuery(".view-van-ban-phap-luat .file .file-icon").hide();
    jQuery(".view-van-ban-phap-luat .file a").html("<div class='icon-download'></div>");

    //disable click
    jQuery(".bieu-mau-thong-dung .views-field-title").click(function(){return false;});
    jQuery(".bieu-mau-thong-dung .views-field-title a").removeAttr("href");
    
    // tim div Yeu cau dich vu
    var findRe = jQuery(".field-name-field-social").find("div.require-bottons");
    var n = findRe.html();
    findRe.remove();
    
    if (n != '') {
      jQuery(".field-name-body").after('<div class="require-bottons">'+n+'</div>');
    }
    // end
    
    // Tim div button resize
    var findResize = jQuery(".region-content").find("div.block-text-resize");
    var nResize = findResize.html();
    findResize.remove();
    
    if (nResize) {
      jQuery("#breadcrumb .breadcrumb").after('<div id="block-text-resize-0" class="block block-text-resize">'+nResize+'</div>');
    }
    
});
